using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Web.Services.Description;

namespace WsdlStudioLibrary.Windows.Controls.GotDotNetWebServiceStudioGui
{
    public partial class RequestResponseControl : UserControl
    {
        public RequestResponseControl()
        {
            InitializeComponent();
            RequestProperties requestProperties = new RequestProperties();
            requestProperties.AllowAutoRedirect = true;
            propGridRequestResponse.SelectedObject = requestProperties;
        }


        internal void SetWsdl(ServiceDescription serviceDesc)
        {
            rtbxRequest.Text = serviceDesc.Documentation;
        }
    }
}
